import request from '@/utils/request'

// 查询验收球记录列表
export function listRemarkBallWithoutDataScope(query) {
  return request({
    url: '/mark/remarkBall/listWithoutDataScope',
    method: 'get',
    params: query,
  })
}

// 查询验收球记录列表
export function listRemarkBallWithDataScope(query) {
  return request({
    url: '/mark/remarkBall/listWithDataScope',
    method: 'get',
    params: query,
  })
}

// 查询验收球记录列表
export function listRemarkBall(query) {
  return request({
    url: '/mark/remarkBall/list',
    method: 'get',
    params: query,
  })
}

// 查询验收球记录详细
export function getRemarkBall(remarkId) {
  return request({
    url: '/mark/remarkBall/' + remarkId,
    method: 'get',
  })
}

// 新增验收球记录
export function addRemarkBall(data) {
  return request({
    url: '/mark/remarkBall',
    method: 'post',
    data: data,
  })
}

// 修改验收球记录
export function updateRemarkBall(data) {
  return request({
    url: '/mark/remarkBall',
    method: 'put',
    data: data,
  })
}

// 删除验收球记录
export function delRemarkBall(remarkId) {
  return request({
    url: '/mark/remarkBall/' + remarkId,
    method: 'delete',
  })
}

// 导出验收球记录
export function exportRemarkBall(query) {
  return request({
    url: '/mark/remarkBall/export',
    method: 'get',
    params: query,
  })
}

// 按条件删除验收球记录
export function deleteRemarkBall(query) {
  return request({
    url: '/mark/remarkBall/del',
    method: 'post',
    params: query,
  })
}
